package com.study.service.impl;

import com.study.entity.PatriarchRead;
import com.study.mapper.PatriarchReadMapper;
import com.study.service.PatriarchReadService;
import com.sun.webkit.dom.XPathNSResolverImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author:zt
 * @createDate: 2022/6/23
 */

@Service
public class PatriarchReadServiceImpl implements PatriarchReadService {
    @Autowired
    private PatriarchReadMapper patriarchReadMapper;

    @Override
    public int deleteByPrimaryKey(Integer patriarchReadId) {
        return 0;
    }

    @Override
    public int insert(PatriarchRead row) {
        return patriarchReadMapper.insert(row);
    }

    @Override
    public PatriarchRead selectByPrimaryKey(Integer patriarchReadId) {
        return null;
    }

    @Override
    public int updateByPrimaryKey(PatriarchRead row) {
        return 0;
    }

    @Override
    public int insertSelective(PatriarchRead row) {
        return patriarchReadMapper.insertSelective(row);
    }

    @Override
    public List<PatriarchRead> selects() {
        return patriarchReadMapper.selects();
    }
}
